package com.alphas.user_centbackendalphas.exception;

import com.alphas.user_centbackendalphas.common.StatusCode;

public class BusinessException extends RuntimeException {
    /**
     * 状态码
     */
    private StatusCode statusCode;

    public BusinessException(StatusCode statusCode) {
        this.statusCode = statusCode;
    }

    public StatusCode getStatusCode() {
        return statusCode;
    }
}
